{% extends "base.html" %}
{% load static %}

{% block headjs %}

{% endblock %}

{% block content %}

    <div class="row">
        <div class="col-lg">
            <div class="card">

                <div class="card-body">

                    <ul class="card-text list-group-horizontal">

                        {% for obj in object_list %}
                            <li class="card float-left m-2" style="width: 18rem;"><a href="{% url 'xueli_banji_detail' obj.id %}" class="p-0" target="_blank">
  <img class="card-img-top" src="http://dpsystem.oss-cn-shenzhen.aliyuncs.com/moren1607659060/059df7f6f7366d177765bf716b3f8def" alt="Card image cap" width="18rem" height="300px"></a>
  <div class="card-body p-2">
{#    <h5 class="card-title">{{ obj.name }}</h5>#}
    <p class="card-text"><a href="{% url 'xueli_banji_detail' obj.id %}" class="p-1" target="_blank">{{ obj.name }}</a> </p> </div>
  <ul class="list-group list-group-flush">
      <li class="list-group-item">开班时间:{{ obj.open_time }}</li>
    <li class="list-group-item">在班人数:5</li>
    <li class="list-group-item">班级状态:<i class="fa-vcard fa"></i> </li>
  </ul>

</li>
                        {% endfor %}
                    </ul>
                </div>
            </div>
        </div>
    </div>
{% endblock %}
{% block footerjs %}

{% endblock %}
